﻿package src.fdezain.cardGame.deck 
{
	/**
	 * ...
	 * @author FabricioDezain
	 */
	import src.fdezain.cardGame.deck.Generic
	public class Deck
	{
		private var generic:Generic = new Generic()
		public var deck:Object = []
		public var limitMax:uint;
		
		public function Deck() 
		{
			limitMax=generic.genericDeck.length
		}
		public function insertDeck (nCarta:uint):void
		{
			nCarta < limitMax ? deck.push(generic.genericDeck[nCarta]) : null;
			
		}
		
	}

}